<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/29
 * Time: 16:19
 */

namespace app\index\validate;


class CardValidate extends BaseValidate
{
    protected $rule = [
        'type' => 'require|isPositiveInt',
        'bank_name' => 'require',
        'branch_name' => 'require',
        'card_number' => 'require|isPositiveInt|number|min:15',
        'surename' => 'require',
        'balance' => 'require|number',
        'status' => 'require|zeroOrOne'
    ];
}